﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace B.S.Shop.Domain
{
    public class ShopClass
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]

        public int ShopId {  get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string ShopCord {  get; set; }
        /// <summary>
        /// 采购时间
        /// </summary>

        public DateTime ShopTime {  get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string ShopName {  get; set; }
        /// <summary>
        /// 采购金额
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal ShopPrice {  get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool IsShop {  get; set; }
        /// <summary>
        /// 付款状态
        /// </summary>
        public bool IsMoney {  get; set; }
        /// <summary>
        /// 入库状态
        /// </summary>
        public bool IsGo {  get; set; }
        /// <summary>
        /// 采购负责人
        /// </summary>
        public string UserName {  get; set; }
        /// <summary>
        /// 负责人电话
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel {  get; set; }


    }
}
